
//****************************************************************************************************************
	        
	        function checkForm(name_form) 
	        {   
	            var f = document.forms[name_form];
	            if(!f) {
	                alert('Wrong form!');
		            return false;
	            }
	
	            err = '';
	            if(f.elements['client_billing_name'].value == '') 
	            {
	                err += "\n\tType name";
	            }
	
		if('' == f.elements['client_billing_country'].value) 
		{
		   err += "\n\tType billing country ";
		}
				            
			  

	            if(f.elements['client_billing_adress1'].value == '') 
	            {
	                err += "\n\tType adress";
	            }

	            if(f.elements['client_billing_city'].value == '') 
	            {
	                err += "\n\tType city";
	            }

	            if(f.elements['client_billing_state'].value == '') 
	            {
	                err += "\n\tType state";
	            }

	            if(f.elements['client_billing_zip'].value == '') 
	            {
	                err += "\n\tType zip";
	            }


	            if(err != '') 
	            {
	                alert("You haven't fill all required fields:\n"+err);
	                return false;
	            }
	            return true;
	        }
